package com.bean;

import com.bean.anno.TableExcel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "api_cookbook")
@TableExcel(name="api_cookbook", content = "EasyExcelAPI菜谱",jpaBeanName="com.mapper.repository.ApiCookBookRepository")
public class ApiCookBook {
    //https://www.free-api.com/doc/466
    //https://way.jd.com/jisuapi/search?keyword=白菜&num=10&appkey=您申请的APPKEY

    @Id
    private int id ;

    private int classid;//分类id

    private String name;//菜谱名称

    private String content;//菜谱说明

    private String pic;//菜谱图片

    private String tag;//菜谱标签

}
